PhpOffice\PhpSpreadsheetTests\Calculation\CalculationTest A

Total Complexity 57
Dependencies 6
Dependents 0
Total lines 389
Lines of code 274
Logical lines of code 207
Comment lines 23
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
testBranchPruningFormulaParingNestedIfCase()
A
48 16 28
testBranchPruningFormulaParsingMultipleIfsCase()
A
50 10 25
testBranchPruningFormulaParsingSimpleCase()
S
53 7 22
testBranchPruningFormulaParsingInequalitiesConditionsCase()
S
58 4 15
testFullExecutionDataPruning()
S
53 3 23
testFormulaWithOptionalArgumentsAndRequiredCellReferenceShouldPassNullForMissingArguments()
S
57 1 17
testCellSetAsQuotedText()
S
59 1 14
testFormulaReferencingWorksheetWithEscapedApostrophe()
S
60 1 14
testFormulaReferencingWorksheetWithUnescapedApostrophe()
S
60 1 14
testDoesHandleXlfnFunctions()
S
61 1 13
testCellWithFormulaTwoIndirect()
S
60 1 13
setUp()
S
71 1 6
tearDown()
S
73 1 5
testBinaryComparisonOperation()
S
66 1 8
providerBinaryComparisonOperation()
S
80 1 3
testCellWithDdeExpresion()
S
68 1 7
testCellWithStringNumeric()
S
65 1 9
testCellWithStringFraction()
S
65 1 9
testCellWithStringPercentage()
S
65 1 9
testCellWithStringCurrency()
S
63 1 10
testBranchPruningFormulaParsingNoArgumentFunctionCase()
S
69 1 7
dataProviderBranchPruningFullExecution()
S
80 1 3